Optimal. Leaf size=88 \[ -\frac{\sqrt [3]{a+b x^3}}{x}-\frac{1}{2} \sqrt [3]{b} \log \left (\sqrt [3]{b} x-\sqrt [3]{a+b x^3}\right )-\frac{\sqrt [3]{b} \tan ^{-1}\left (\frac{\frac{2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}+1}{\sqrt{3}}\right )}{\sqrt{3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0695022, antiderivative size = 138, normalized size of antiderivative = 1.57, number of steps used = 8, number of rules used = 8, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.533, Rules used = {277, 331, 292, 31, 634, 617, 204, 628} \[ \frac{1}{6} \sqrt [3]{b} \log \left (\frac{b^{2/3} x^2}{\left (a+b x^3\right )^{2/3}}+\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}+1\right )-\frac{\sqrt [3]{a+b x^3}}{x}-\frac{1}{3} \sqrt [3]{b} \log \left (1-\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )-\frac{\sqrt [3]{b} \tan ^{-1}\left (\frac{\frac{2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}+1}{\sqrt{3}}\right )}{\sqrt{3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 277
Rule 331
Rule 292
Rule 31
Rule 634
Rule 617
Rule 204
Rule 628
Rubi steps
\begin{align*} \int \frac{\sqrt [3]{a+b x^3}}{x^2} \, dx &=-\frac{\sqrt [3]{a+b x^3}}{x}+b \int \frac{x}{\left (a+b x^3\right )^{2/3}} \, dx\\ &=-\frac{\sqrt [3]{a+b x^3}}{x}+b \operatorname{Subst}\left (\int \frac{x}{1-b x^3} \, dx,x,\frac{x}{\sqrt [3]{a+b x^3}}\right )\\ &=-\frac{\sqrt [3]{a+b x^3}}{x}+\frac{1}{3} b^{2/3} \operatorname{Subst}\left (\int \frac{1}{1-\sqrt [3]{b} x} \, dx,x,\frac{x}{\sqrt [3]{a+b x^3}}\right )-\frac{1}{3} b^{2/3} \operatorname{Subst}\left (\int \frac{1-\sqrt [3]{b} x}{1+\sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,\frac{x}{\sqrt [3]{a+b x^3}}\right )\\ &=-\frac{\sqrt [3]{a+b x^3}}{x}-\frac{1}{3} \sqrt [3]{b} \log \left (1-\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )+\frac{1}{6} \sqrt [3]{b} \operatorname{Subst}\left (\int \frac{\sqrt [3]{b}+2 b^{2/3} x}{1+\sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,\frac{x}{\sqrt [3]{a+b x^3}}\right )-\frac{1}{2} b^{2/3} \operatorname{Subst}\left (\int \frac{1}{1+\sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,\frac{x}{\sqrt [3]{a+b x^3}}\right )\\ &=-\frac{\sqrt [3]{a+b x^3}}{x}-\frac{1}{3} \sqrt [3]{b} \log \left (1-\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )+\frac{1}{6} \sqrt [3]{b} \log \left (1+\frac{b^{2/3} x^2}{\left (a+b x^3\right )^{2/3}}+\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )+\sqrt [3]{b} \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1+\frac{2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )\\ &=-\frac{\sqrt [3]{a+b x^3}}{x}-\frac{\sqrt [3]{b} \tan ^{-1}\left (\frac{1+\frac{2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}}{\sqrt{3}}\right )}{\sqrt{3}}-\frac{1}{3} \sqrt [3]{b} \log \left (1-\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )+\frac{1}{6} \sqrt [3]{b} \log \left (1+\frac{b^{2/3} x^2}{\left (a+b x^3\right )^{2/3}}+\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )\\ \end{align*}
Mathematica [C] time = 0.0084665, size = 49, normalized size = 0.56 \[ -\frac{\sqrt [3]{a+b x^3} \, _2F_1\left (-\frac{1}{3},-\frac{1}{3};\frac{2}{3};-\frac{b x^3}{a}\right )}{x \sqrt [3]{\frac{b x^3}{a}+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.03, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{{x}^{2}}\sqrt [3]{b{x}^{3}+a}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 1.32542, size = 41, normalized size = 0.47 \begin{align*} \frac{\sqrt [3]{a} \Gamma \left (- \frac{1}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{3}, - \frac{1}{3} \\ \frac{2}{3} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 x \Gamma \left (\frac{2}{3}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x^{3} + a\right )}^{\frac{1}{3}}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]